const admin = {
    namespaced: true,
    state: {
        total: 100,
        page: 1,
        tableData: [],
        add: '',
        dialogVisible: false,
        dialogTableVisible: false,
        dialogFormVisible: false,
        checkList: [],
        privilegeNum: '',
        form: {
            username: '',    //用户名
            privilege: 0,  //权限
            password: '',    //密码
            id: ''
        },
        formLabelWidth: '120px'
    },
    getters: {
    },
    mutations: {
    },
    actions: {
    },
    computed:{
        page(){
            return state.page
        }
    }
}
export default admin